<!-- eslint-disable vue/multi-word-component-names -->
<template>
    <div class="box">
      <table>
          <tr style="background: #188d9f; border-bottom: 1px solid #a78d41; color: #00183e; font-weight: bold; color: pink; height: 40px; font-size: 16px">
            <th>日期</th>
            <th>种类</th>
            <th>金额</th>
          </tr>
          <tr v-for="(item, index) in data" :key="index" style="border-bottom: 1px dashed #a78d41; color: pink; height: 38px;">
            <th>{{ item.name }}</th>
            <th>{{ item.status }}</th>
            <th>{{ item.keep }}</th>
          </tr>
        </table>
    </div>
  </template>
  
  <script lang="ts" setup>
  const data = [
      {
        name:'2024/06/24',
        status:"纸箱",
        keep:'1800',
      },
      {
        name:'2024/06/24',
        status:"蛋托",
        keep:'1800',
      },
      {
        name:'2024/06/24',
        status:"塑料筐",
        keep:'1800',
      },
    ]
  
  </script>
  
  <style scoped>
  .box {
        width: 90%;
        width: 100%;
    }
    
    .top {
        width: 100%;
        text-align: center;
        font-size: 32px;
        font-weight: bold;
        color: #2af7f6;
        padding-top: 1vh;
    }
    
    .box table {
      width: 90%;
      /* height: 16vh; */
      margin-left: 1vw;
      margin-top: 1vh;
      text-align: center;
      border-collapse: collapse;
      font-size: 14px;
      border: none;
    }
  
  </style>